import Types from '../Types';

/**
 * theme的action创建函数
 * @param theme
 * @returns {{type: string, theme: *}}
 */
export function onThemeChange(theme) {
  return {type: Types.THEME_CHANGE, theme: theme};
}